package com.bsoft.gol.hcs.his.service;

import com.bsoft.gol.hcs.clinical.bean.qo.DoctorListQo;
import ctd.controller.exception.ControllerException;
import com.bsoft.gol.hcs.his.bean.request.InHospitalpatientListQueryRequest;
import com.bsoft.gol.hcs.his.bean.response.InHospitalPatientResponse;
import org.atag.dao.model.SimplePageInfo;

import java.util.List;
import java.util.Map;

/**
 * 住院患者对接his接口
 *
 * @author sumu
 */
public interface InHospitalPatientService {

    /**
     * 获取住院病人列表
     * @param request
     * @return
     */
    //BaseResponse<List<InHospitalPatientResponse>> listPatient(InHospitalpatientListQueryRequest request);

    /**
     * 获取住院病人列表-最新
     *
     * @param request
     * @return
     */
   InHospitalPatientResponse queryInHospitalPatientList(InHospitalpatientListQueryRequest request) throws ControllerException;

    /**
     * 获取住院患者列表
     *
     * @param request 列表查询入参
     * @return 住院患者列表
     */
    SimplePageInfo<InHospitalPatientResponse.InHospitalPatient> queryLocalInHospitalPatientList(InHospitalpatientListQueryRequest request);

    /**
     * 获取住院患者列表
     *
     * @param request 列表查询入参
     * @return 住院患者列表
     */
    List<Map<String, String>> inPatientDoctorList(DoctorListQo request);
}
